{
  "service": {
    "name": "pgbouncer-exporter",
    "port": {{ pgbouncer_exporter_port }},
    "tags": [
        "pg",
        "exporter",
        "pgbouncer-exporter"
    ],
    "meta": {
      "type": "exporter",
      "role": "{{ pg_role }}",
      "seq": "{{ pg_seq }}",
      "instance": "{{ pg_cluster }}-{{ pg_seq }}",
      "service": "{{ pg_cluster }}-{{ pg_role }}",
      "cluster": "{{ pg_cluster }}"
    },
    "check": {
      "http": "http://{{ inventory_hostname }}:{{ pgbouncer_exporter_port }}/",
      "interval": "15s",
      "timeout": "1s"
    }
  }
}